﻿@using 期末.Models.Database;

@{ 

    var xinwen = ViewData["news"] as List<Xinwen>;
    foreach(var item in xinwen)
    {
    <div>
        <h1 class="detail-title">@item.Tit</h1>
        <div class="post_content">@item.Con</div>
        <div class="post_info">
            <span>@item.Data</span>
            <span>@item.Come</span>
        </div>
    </div>
    }
}
